script that extracts text from PDFs and throws it to OpenAI with the Batch API